﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Domain.InventoryAllocate
{  
    /// <summary>
    /// 库存调度表
    /// </summary>
    [SugarTable("Inventory")] 
    public class Inventory
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int InventoryId { get; set; }
        /// <summary>
        /// 调拨编码
        /// </summary>
        public string? AllocateNumber { get; set; }
        /// <summary>
        /// 调拨日期
        /// </summary>
        public DateTime AllocateDate { get; set; }
        /// <summary>
        /// 来源仓库id
        /// </summary>
        public int SourcerepositoryId { get; set; }
        /// <summary>
        /// 来源仓库地址
        /// </summary>
        public string? SourcerepositoryAdd { get; set; }
        /// <summary>
        /// 目标仓库Id
        /// </summary>
        public int TargetrepositoryId { get; set; }
        /// <summary>
        /// 目标仓库地址
        /// </summary>
        public string? TargetrepositoryAdd { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 制单部门
        /// </summary>
        public int Markdepartment { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int produceplanAudit { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
